﻿using UnityEngine;
using System.Collections;

public class OctreeNode<Type> : MonoBehaviour {

	// eight Node
	public OctreeNode<Type> c0, c1, c2, c3, c4, c5, c6, c7;
	public Type data;
	public OctreeNode(Vector3 center, Vector3 size){
		this.center = center;
		this.size = size;
		bound = new Bounds (center, size);
	}

	public Vector3 center, size;
	public Bounds bound;
}

/// BRANCHING:  THIS MODIFICATION IS DONE IN BRACH "TEST BRANCH".
